header{
    height: 90px;
    background-color: skyblue;
}
.main-content{
    margin-top: 80px;
}
/* API分类 */
.api-list h2{
    font-weight: normal;
    padding: 30px 0;
}
.api-list ul{
    display: flex;
    flex-wrap: wrap;
}
.api-list li{
    width: 100px ;
    line-height: 30px;
    text-align: center;
    border: 1px solid #666;
    color: #666;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-right: 20px;
    cursor: pointer;
}
.api-list .active{
    background-color: aqua;
}
.api-list input{
    width: 300px;
    line-height: 30px;
    border: 1px solid #666;
    border-radius: 3px;
    margin-left: 20px;
}
/* api-content内容    */
.api-content{
    display: flex;
    padding-top: 30px;
    flex-wrap: wrap;
}
.api-content li{
    margin-right: 10px;
    width: 228px;
    height: 200px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.api-content li p{
    line-height: 40px;
    font-size: 14px;
}
.api-content li span{
    font-size: 14px;
    
}
.api-content li i{
    width: 70px;
    line-height: 30px;
    border-radius: 3px;
    background-color: skyblue;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    display: none;
}
/* 激活类 */
.api-content li .green{
    color: green;
}
.api-content li .red{
    color: red;
}
.api-content li .show{
    display: block;
}
.api-content li .none{
    display: none;
}